Skip to content

Release HyperDX - #2919

Merged
kodiakhq[bot] merged 2 commits into
mainfrom
changeset-release/main
Aug 21, 2026
Merged

Release HyperDX#2919
kodiakhq[bot] merged 2 commits into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@hyperdx/cli@0.6.2

Patch Changes

  • dc29d57: Chart formulas are now supported across every API surface that persists or accepts chart configs. The external dashboards API v2 and the MCP save_dashboard / patch_dashboard tools accept formulas (letter-ref arithmetic over the tile's select items, e.g. A / (A + B) * 100) and showOperandSeries on line, stacked bar, table and number builder tiles, round-trip them through GET/PUT, and validate the expressions on write — unknown series refs, malformed syntax, combining formulas with asRatio, multiple formulas on a number tile, and formulas on formula-incapable source kinds (anything other than metric, log, or trace) are all rejected with actionable errors. MCP query_tile computes formula columns for both metric and log/trace event tiles, the query-guide prompt documents the feature, and the OpenAPI spec includes the new Formula schema. The CLI's dashboard tile pipeline now delegates its number/table config transforms to the shared common-utils implementations, so formula tiles render with operand-hiding behavior identical to the web.

@hyperdx/api@2.36.0

Minor Changes

  • 8723d7a: Alerts can be configured with multiple notification channels (up to 10 webhooks) via the new channels field on the v2 external API, internal API, and the MCP clickstack_save_alert tool. The legacy singular channel field is still accepted on input and mirrored in responses, so existing integrations keep working unchanged.

    Note that alert updates are a full replace, not a merge. A client that sends only the legacy channel field when updating an alert that has several channels will reduce it to that one channel — fetch the alert and resend the complete channels array to preserve them.

  • a4b2ad0: The API now recovers from a MongoDB that is unreachable at startup, and exposes a Mongo-aware readiness endpoint. Previously a failed initial connect was never retried: the process kept listening while every Mongo-backed request timed out, /health reported 200, and Kubernetes kept the pod Ready indefinitely — cascading into OpAMP 500s and crash-looping collectors. The initial connection is now retried with capped exponential backoff until it succeeds, and both the API and OpAMP servers expose GET /ready, which returns 503 unless MongoDB is connected (point Kubernetes readiness probes at it; /health remains a pure liveness check).

  • dc29d57: Chart formulas are now supported across every API surface that persists or accepts chart configs. The external dashboards API v2 and the MCP save_dashboard / patch_dashboard tools accept formulas (letter-ref arithmetic over the tile's select items, e.g. A / (A + B) * 100) and showOperandSeries on line, stacked bar, table and number builder tiles, round-trip them through GET/PUT, and validate the expressions on write — unknown series refs, malformed syntax, combining formulas with asRatio, multiple formulas on a number tile, and formulas on formula-incapable source kinds (anything other than metric, log, or trace) are all rejected with actionable errors. MCP query_tile computes formula columns for both metric and log/trace event tiles, the query-guide prompt documents the feature, and the OpenAPI spec includes the new Formula schema. The CLI's dashboard tile pipeline now delegates its number/table config transforms to the shared common-utils implementations, so formula tiles render with operand-hiding behavior identical to the web.

Patch Changes

  • d205a77: Allow the ClickHouse exporter request timeout to be configured with
    HYPERDX_OTEL_EXPORTER_TIMEOUT in both OpAMP-managed and standalone collector
    modes. The default remains 5 seconds.

  • 90da409: Disable mongoose autoIndex in check-alerts worker to prevent MongoExpiredSessionError

  • 43f6856: Allow editing and deleting alerts directly from the alert details page. An
    "Edit alert" action opens a modal for changing the alert's threshold,
    evaluation interval, schedule, group-by (saved-search alerts), notification
    webhook, and note, and a Delete action (with confirmation) removes the alert
    and returns to the alerts list. Alert API responses now include the
    notification channel's webhook id and the alert's name/message template so
    edits round-trip these fields.

  • 40ec085: feat: Add dashboard variable properties to external dashboards API

  • b0b1380: Align alert firing/recovery chart markers with the evaluated data: markers are now drawn at the start of the newest evaluated bucket (matching the evaluation history table and the plotted data point) instead of at the evaluation time, which sat one bucket to the right.

  • c592207: Fix MCP tool schemas being rejected by strict JSON Schema draft 2020-12 clients. The number-tile colorRules between rule declared its value as a Zod tuple, which zod-to-json-schema renders in the draft-07 tuple form (items: [ ... ]). Draft 2020-12 requires items to be a schema rather than an array, so clickstack_save_dashboard and clickstack_patch_dashboard failed validation — and clients that forward MCP tool schemas straight to an LLM provider (e.g. the Anthropic API) rejected the entire tool list with tools.N.custom.input_schema: JSON schema is invalid, making the MCP server unusable. value is now a fixed-length array, which validates identically and serializes to the same [min, max] wire format. A new test validates every MCP tool's input schema against the 2020-12 metaschema so this cannot regress.

  • e153f46: Tile alerts on metric charts with formulas now evaluate the formula value instead of the last raw operand series: the alert task previously dropped formulas/showOperandSeries when rebuilding the tile's chart config, so an alert on a formula tile compared the threshold against a raw operand (e.g. bytes) rather than the derived value. Grouped ratio tile alerts also now honor ratioMode (share_of_total previously evaluated as per_group).

  • 7294944: fix: route per-query SQL debug logging through an injectable logger (ClickHouseClient.logDebugQuery writes per-query SQL via raw console.debug — floods pod logs, no env gate #2416)

    BaseClickhouseClient dumped raw SQL to the console on every ClickHouse query,
    unconditionally and outside the pino logger, flooding API logs with query spam.

    Query logging now goes through an optional per-client customLogger on
    ClickhouseClientOptions, logged at debug, and is silent when no logger is
    passed. The API injects a pino-backed logger, so query logging follows the
    existing HYPERDX_LOG_LEVEL setting instead of writing to console.debug. The
    browser client defaults to a console logger that pretty-prints the SQL as a
    single multi-line block, so query SQL stays visible and readable in devtools in
    all builds instead of wrapping into one long line.

    The API's log level now defaults to info (was debug), so SQL logging is
    silent in production unless HYPERDX_LOG_LEVEL=debug is set. Dev and CI env
    files already pin their levels explicitly and are unaffected. The default also
    now applies when HYPERDX_LOG_LEVEL is set but empty — which is what Compose
    passes when the variable is unset in the environment, and which previously made
    pino throw at startup.

  • e60a7d3: fix: populate the span StatusMessage on failed MCP tool calls so the error text is visible in the trace

  • 9f640a6: Add a Rotate action for the personal API access key in Team Settings → API & Agents. Previously the personal access key — the bearer token for the external API v2 and the MCP server — was generated once at account creation and could never be changed, so a leaked key could only be remediated by deleting the user. Rotating immediately revokes the previous key, so MCP / AI agent configs, external API v2 clients, Terraform / IaC providers, and CI scripts using the old key must be updated with the new one. Browser sessions are unaffected.

  • 08e5b62: Stop the external dashboards API returning aggregation parameters the aggregation cannot carry: a level left over from a quantile agg, or a valueExpression left over on a count. Both are ignored when rendering, but the input schema rejects them, so a GET body could not be PUT back and importing a dashboard into Terraform failed with "Level can only be used with quantile aggregation function".

  • Updated dependencies [be26530]

  • Updated dependencies [c349a5d]

  • Updated dependencies [68d2ed2]

  • Updated dependencies [2eedfb2]

  • Updated dependencies [1ce61c0]

  • Updated dependencies [43f6856]

  • Updated dependencies [b1d8dc1]

  • Updated dependencies [40ec085]

  • Updated dependencies [b0b1380]

  • Updated dependencies [a94d6da]

  • Updated dependencies [8be6810]

  • Updated dependencies [c592207]

  • Updated dependencies [9c7742f]

  • Updated dependencies [dc29d57]

  • Updated dependencies [7294944]

  • Updated dependencies [3ecf73c]

  • Updated dependencies [3ecf73c]

  • Updated dependencies [e153f46]

  • Updated dependencies [9f640a6]

  • Updated dependencies [ea12707]

    • @hyperdx/common-utils@0.27.0

@hyperdx/app@2.36.0

Minor Changes

  • fb28446: Alert forms for saved searches and dashboard tiles can now send to several webhooks. Add or remove notification channels inline (up to 10); webhooks already chosen by the alert are greyed out in the other pickers, since duplicates are rejected.
  • b1d8dc1: Formulas now work on log and trace sources, not just metrics. Time series, table and number charts on event sources can define derived series via letter-ref arithmetic expressions (e.g. A / B * 100), with the same editor controls (Add Formula, series letter badges, Show input series) previously offered only on metric sources. Event formulas compile inline into the chart's single-scan SELECT — no per-series query fan-out — with the same missing-data semantics as the existing events ratio toggle.
  • e153f46: Add metric formula editing to the chart editor. Metric-source charts (time series, table, number) gain an "Add Formula" row: a letter-ref arithmetic expression over the chart's series (A = series 1, B = series 2, ...) such as A / (A + B) * 100, with inline structured validation (malformed expressions, unknown series references), per-formula alias and number format, and a "Show input series" toggle to render only the formula column(s) or the formula alongside its operand series. Series rows now carry their reference letter as a badge. Formulas and the "As Ratio" toggle are mutually exclusive, and formulas persist on dashboard tiles and standalone charts.

Patch Changes

  • 59b96e9: Upgrade the session replay player from rrweb@2.0.0-alpha.8 to stable rrweb@2.1.1, aligning the replayer with the rrweb version used by current @hyperdx/browser recorders and picking up several years of upstream replayer fixes (style-sheet handling, virtual DOM, adopted stylesheets). Replay fidelity was verified for sessions recorded with both rrweb@1.1.3 (older browser SDKs) and rrweb@2.1.1 (current SDKs).

  • f31a145: Make the CopySnippet heading optional (omit label to hide it) and add
    IconAiNotebook, a Tabler-compatible custom icon for AI notebooks.

  • 68d2ed2: feat: Support dependent variable value queries

  • 2eedfb2: feat: Substitute dashboard variables in chart builder tiles

  • 1ce61c0: feat: Expand dashboard variables and macros nested in macro arguments

  • 43f6856: Allow editing and deleting alerts directly from the alert details page. An
    "Edit alert" action opens a modal for changing the alert's threshold,
    evaluation interval, schedule, group-by (saved-search alerts), notification
    webhook, and note, and a Delete action (with confirmation) removes the alert
    and returns to the alerts list. Alert API responses now include the
    notification channel's webhook id and the alert's name/message template so
    edits round-trip these fields.

  • 905d194: Adopt React 19 context and ref APIs across the app and enforce them via ESLint.
    Render <Context> directly instead of <Context.Provider>, use the use hook
    instead of useContext, and pass ref as a regular prop instead of wrapping
    components in forwardRef. The corresponding @eslint-react/no-context-provider,
    no-use-context, and no-forward-ref rules are promoted to error and the
    app's --max-warnings ceiling is lowered. Behavior is unchanged.

  • b0b1380: Align alert firing/recovery chart markers with the evaluated data: markers are now drawn at the start of the newest evaluated bucket (matching the evaluation history table and the plotted data point) instead of at the evaluation time, which sat one bucket to the right.

  • 8be6810: Fix dashboard filter selection state breaking on complex expressions. The
    filter parser (shared with the search page) now tracks parenthesis depth in
    addition to quote depth, so selections stored for expression-based filters such
    as if(SeverityText = 'error' OR SeverityText = 'fatal', 'Errors', 'Non-errors')
    or if(SeverityText IN ('error', 'fatal'), 'Errors', 'Non-errors') are parsed
    correctly instead of being dropped or split on operators/keywords nested inside
    the expression.

  • 9c7742f: Fix multi-series metric charts mixing float and integer aggregations (e.g. histogram quantile + histogram count) failing with "No value columns found in result column metadata". The composed UNION ALL query now normalizes every series value to Float64, so the merged column type is deterministic instead of erroring with NO_COMMON_TYPE or producing a Variant(Float64, Int64) column depending on the ClickHouse server's use_variant_as_common_type setting. As a defensive layer, all-numeric Variant(...) result columns (e.g. from raw-SQL charts) are now also classified as numeric.

  • 75909ac: Fix Surrounding Context filters for non-OTEL schemas by using the source's serviceNameExpression for the "Service" filter instead of hardcoded ResourceAttributes lookup. Also adds quick event attribute filters that let users toggle attributes from the current event to narrow surrounding context results.

  • 7294944: fix: route per-query SQL debug logging through an injectable logger (ClickHouseClient.logDebugQuery writes per-query SQL via raw console.debug — floods pod logs, no env gate #2416)

    BaseClickhouseClient dumped raw SQL to the console on every ClickHouse query,
    unconditionally and outside the pino logger, flooding API logs with query spam.

    Query logging now goes through an optional per-client customLogger on
    ClickhouseClientOptions, logged at debug, and is silent when no logger is
    passed. The API injects a pino-backed logger, so query logging follows the
    existing HYPERDX_LOG_LEVEL setting instead of writing to console.debug. The
    browser client defaults to a console logger that pretty-prints the SQL as a
    single multi-line block, so query SQL stays visible and readable in devtools in
    all builds instead of wrapping into one long line.

    The API's log level now defaults to info (was debug), so SQL logging is
    silent in production unless HYPERDX_LOG_LEVEL=debug is set. Dev and CI env
    files already pin their levels explicitly and are unaffected. The default also
    now applies when HYPERDX_LOG_LEVEL is set but empty — which is what Compose
    passes when the variable is unset in the environment, and which previously made
    pino throw at startup.

  • 47fe0cd: Use the categorical chart palette and shared tooltip on histogram charts (including Request Latency on the Services dashboard) instead of a hardcoded neon green fill and a one-off tooltip.

  • 9f640a6: Add a Rotate action for the personal API access key in Team Settings → API & Agents. Previously the personal access key — the bearer token for the external API v2 and the MCP server — was generated once at account creation and could never be changed, so a leaked key could only be remediated by deleting the user. Rotating immediately revokes the previous key, so MCP / AI agent configs, external API v2 clients, Terraform / IaC providers, and CI scripts using the old key must be updated with the new one. Browser sessions are unaffected.

  • c4dcab9: Introduce a shared ChartCard component that gives standalone charts the same
    card treatment as custom dashboard tiles (bordered surface + full-bleed header
    divider). The card header stays pinned while the card body scrolls (e.g. cards
    wrapping a long list like "Top 20 Most Time Consuming Queries"): in card mode
    the header is a fixed row and scrollable list content gets its own internal
    scroll region, so the header no longer scrolls away once you pass the first
    card-height of content. Migrate the Service
    Dashboards (HTTP, Database, Errors, endpoint and DB-query side panels) and the
    ClickHouse page from the old ChartBox wrapper to ChartCard so chart surfaces
    look consistent across the app.

  • adba65a: fix: Sort JSON viewer keys alphabetically so wide Map columns are scannable

  • Updated dependencies [8723d7a]

  • Updated dependencies [be26530]

  • Updated dependencies [a4b2ad0]

  • Updated dependencies [c349a5d]

  • Updated dependencies [d205a77]

  • Updated dependencies [68d2ed2]

  • Updated dependencies [2eedfb2]

  • Updated dependencies [1ce61c0]

  • Updated dependencies [90da409]

  • Updated dependencies [43f6856]

  • Updated dependencies [b1d8dc1]

  • Updated dependencies [40ec085]

  • Updated dependencies [b0b1380]

  • Updated dependencies [a94d6da]

  • Updated dependencies [8be6810]

  • Updated dependencies [c592207]

  • Updated dependencies [9c7742f]

  • Updated dependencies [dc29d57]

  • Updated dependencies [e153f46]

  • Updated dependencies [7294944]

  • Updated dependencies [e60a7d3]

  • Updated dependencies [3ecf73c]

  • Updated dependencies [3ecf73c]

  • Updated dependencies [e153f46]

  • Updated dependencies [9f640a6]

  • Updated dependencies [ea12707]

  • Updated dependencies [08e5b62]

    • @hyperdx/api@2.36.0
    • @hyperdx/common-utils@0.27.0

@hyperdx/common-utils@0.27.0

Minor Changes

  • be26530: Add plural alert notification channel schemas: zAlertChannels (1–10 entries), MAX_ALERT_CHANNELS, and a shared channel/channels cross-field validator, ahead of multi-channel alert support in the API.
  • b1d8dc1: Formulas now work on log and trace sources, not just metrics. Time series, table and number charts on event sources can define derived series via letter-ref arithmetic expressions (e.g. A / B * 100), with the same editor controls (Add Formula, series letter badges, Show input series) previously offered only on metric sources. Event formulas compile inline into the chart's single-scan SELECT — no per-series query fan-out — with the same missing-data semantics as the existing events ratio toggle.
  • dc29d57: Chart formulas are now supported across every API surface that persists or accepts chart configs. The external dashboards API v2 and the MCP save_dashboard / patch_dashboard tools accept formulas (letter-ref arithmetic over the tile's select items, e.g. A / (A + B) * 100) and showOperandSeries on line, stacked bar, table and number builder tiles, round-trip them through GET/PUT, and validate the expressions on write — unknown series refs, malformed syntax, combining formulas with asRatio, multiple formulas on a number tile, and formulas on formula-incapable source kinds (anything other than metric, log, or trace) are all rejected with actionable errors. MCP query_tile computes formula columns for both metric and log/trace event tiles, the query-guide prompt documents the feature, and the OpenAPI spec includes the new Formula schema. The CLI's dashboard tile pipeline now delegates its number/table config transforms to the shared common-utils implementations, so formula tiles render with operand-hiding behavior identical to the web.
  • 3ecf73c: Render metric formulas (formulas on builder chart configs) in the composed multi-series metric query. Letter-ref expressions like A / (A + B + C) * 100 compile into the final SELECT projection over the pivoted per-series columns, with ratio-consistent missing-data semantics: a missing operand counts as 0 while a zero or missing division denominator yields NULL (a rendered gap). showOperandSeries: false emits only the formula column(s). Works for grouped and ungrouped line, table, and number charts, and single-series charts with a formula now route through the composed query path.
  • 3ecf73c: "Convert to SQL" now supports multi-series, ratio, and formula metric charts. The composed UNION ALL + pivot query is emitted as a macro-based raw-SQL template with a $__sourceTable(<metricType>) macro per series branch, instead of returning a "cannot be auto-converted" error. Non-time-series metric charts remain unsupported, matching the existing single-series restriction.

Patch Changes

  • c349a5d: HAVING, ORDER BY and LIMIT on multi-series metric charts now apply to the final joined result instead of leaking into each per-series branch. They reference the chart's output columns — operand aliases, formula names/aliases, the ratio column, group-by columns and the time bucket — so a HAVING like "err rate" > 0.5 filters the joined rows, ORDER BY actually orders the result (previously it was applied per branch and then discarded by the join), and LIMIT/OFFSET paginate one consistent group set across all series.

  • 68d2ed2: feat: Support dependent variable value queries

  • 2eedfb2: feat: Substitute dashboard variables in chart builder tiles

  • 1ce61c0: feat: Expand dashboard variables and macros nested in macro arguments

  • 43f6856: Allow editing and deleting alerts directly from the alert details page. An
    "Edit alert" action opens a modal for changing the alert's threshold,
    evaluation interval, schedule, group-by (saved-search alerts), notification
    webhook, and note, and a Delete action (with confirmation) removes the alert
    and returns to the alerts list. Alert API responses now include the
    notification channel's webhook id and the alert's name/message template so
    edits round-trip these fields.

  • 40ec085: feat: Add dashboard variable properties to external dashboards API

  • b0b1380: Align alert firing/recovery chart markers with the evaluated data: markers are now drawn at the start of the newest evaluated bucket (matching the evaluation history table and the plotted data point) instead of at the evaluation time, which sat one bucket to the right.

  • a94d6da: Fix filter sidebar values disappearing behind query proxies. Batched facet-value
    queries (KV rollup and map text-index lookups) previously bound one query
    parameter per key; with ~100 keys this exceeded the ClickHouse web client's URL
    parameter budget, silently promoting the request to a multipart/form-data body
    that proxy gateways can reject — every LowCardinality-column and map-attribute
    filter then vanished without an error. Keys are now inlined as SQL-escaped
    literals so the query rides the POST body with a constant parameter count. Also
    fixes an operator-precedence bug that applied the KV rollup time filter (and
    notEmpty guard) to only the last OR branch.

  • 8be6810: Fix dashboard filter selection state breaking on complex expressions. The
    filter parser (shared with the search page) now tracks parenthesis depth in
    addition to quote depth, so selections stored for expression-based filters such
    as if(SeverityText = 'error' OR SeverityText = 'fatal', 'Errors', 'Non-errors')
    or if(SeverityText IN ('error', 'fatal'), 'Errors', 'Non-errors') are parsed
    correctly instead of being dropped or split on operators/keywords nested inside
    the expression.

  • c592207: Fix MCP tool schemas being rejected by strict JSON Schema draft 2020-12 clients. The number-tile colorRules between rule declared its value as a Zod tuple, which zod-to-json-schema renders in the draft-07 tuple form (items: [ ... ]). Draft 2020-12 requires items to be a schema rather than an array, so clickstack_save_dashboard and clickstack_patch_dashboard failed validation — and clients that forward MCP tool schemas straight to an LLM provider (e.g. the Anthropic API) rejected the entire tool list with tools.N.custom.input_schema: JSON schema is invalid, making the MCP server unusable. value is now a fixed-length array, which validates identically and serializes to the same [min, max] wire format. A new test validates every MCP tool's input schema against the 2020-12 metaschema so this cannot regress.

  • 9c7742f: Fix multi-series metric charts mixing float and integer aggregations (e.g. histogram quantile + histogram count) failing with "No value columns found in result column metadata". The composed UNION ALL query now normalizes every series value to Float64, so the merged column type is deterministic instead of erroring with NO_COMMON_TYPE or producing a Variant(Float64, Int64) column depending on the ClickHouse server's use_variant_as_common_type setting. As a defensive layer, all-numeric Variant(...) result columns (e.g. from raw-SQL charts) are now also classified as numeric.

  • 7294944: fix: route per-query SQL debug logging through an injectable logger (ClickHouseClient.logDebugQuery writes per-query SQL via raw console.debug — floods pod logs, no env gate #2416)

    BaseClickhouseClient dumped raw SQL to the console on every ClickHouse query,
    unconditionally and outside the pino logger, flooding API logs with query spam.

    Query logging now goes through an optional per-client customLogger on
    ClickhouseClientOptions, logged at debug, and is silent when no logger is
    passed. The API injects a pino-backed logger, so query logging follows the
    existing HYPERDX_LOG_LEVEL setting instead of writing to console.debug. The
    browser client defaults to a console logger that pretty-prints the SQL as a
    single multi-line block, so query SQL stays visible and readable in devtools in
    all builds instead of wrapping into one long line.

    The API's log level now defaults to info (was debug), so SQL logging is
    silent in production unless HYPERDX_LOG_LEVEL=debug is set. Dev and CI env
    files already pin their levels explicitly and are unaffected. The default also
    now applies when HYPERDX_LOG_LEVEL is set but empty — which is what Compose
    passes when the variable is unset in the environment, and which previously made
    pino throw at startup.

  • e153f46: Number charts on metric formula configs always hide their operand series: convertToNumberChartConfig forces showOperandSeries: false when formulas are present, so the number tile renders the formula column rather than the first raw operand — regardless of the tile's "Show input series" setting on other display types or when a formula chart is switched to the Number display type.

  • 9f640a6: Add a Rotate action for the personal API access key in Team Settings → API & Agents. Previously the personal access key — the bearer token for the external API v2 and the MCP server — was generated once at account creation and could never be changed, so a leaked key could only be remediated by deleting the user. Rotating immediately revokes the previous key, so MCP / AI agent configs, external API v2 clients, Terraform / IaC providers, and CI scripts using the old key must be updated with the new one. Browser sessions are unaffected.

  • ea12707: Apply the Map KV text-index rewrite (Map['k'] = 'v'has(ItemsCol, concat('k', '=', 'v')), enabling ClickHouse's direct-read optimization) to SQL predicates in the top-level where (search box, saved searches, alerts) and to SQL aggConditions copied into the WHERE clause — previously only sql-type filters[] entries were rewritten

@hyperdx/otel-collector@2.36.0

Minor Changes

  • 395ae8d: feat: support per-signal ClickHouse table TTLs and reconcile TTL on existing tables

    Adds HYPERDX_OTEL_EXPORTER_LOGS_TTL, HYPERDX_OTEL_EXPORTER_TRACES_TTL, HYPERDX_OTEL_EXPORTER_METRICS_TTL and HYPERDX_OTEL_EXPORTER_SESSIONS_TTL, each falling back to the existing HYPERDX_OTEL_EXPORTER_TABLES_TTL, so retention can be configured independently per signal (e.g. keep logs and traces for 6 months while metrics stay at 30 days).

    When HYPERDX_OTEL_EXPORTER_RECONCILE_TABLE_TTL=true, the migrate tool also applies the configured TTL to tables that already exist (ALTER TABLE ... MODIFY TTL), diff-guarded so only tables whose retention actually differs are changed. Previously a changed TTL only affected newly-created tables. Extending a retention uses materialize_ttl_after_modify=1 so data already on disk is kept for the new (longer) period; shrinking uses =0 so a startup reconcile never triggers a bulk delete (existing parts age out under their old TTL). Only a plain <anchor> + <one fixed-length interval> retention is rewritten: compound policies (TO VOLUME/TO DISK tiering, RECOMPRESS, GROUP BY rollups, several rules) and calendar-unit retentions (month/quarter/year) are reported and left untouched. Off by default. Implements Click house Data retention settings from the GUI #1311.

Patch Changes

  • d205a77: Allow the ClickHouse exporter request timeout to be configured with
    HYPERDX_OTEL_EXPORTER_TIMEOUT in both OpAMP-managed and standalone collector
    modes. The default remains 5 seconds.

@greptile-apps

greptile-apps Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

PR author is in the excluded authors list.

@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperdx-oss Ready Ready Preview Aug 21, 2026 7:40pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
hyperdx-storybook Ignored Ignored Preview Aug 21, 2026 7:40pm

Request Review

@github-actions github-actions Bot added the review/tier-1 Trivial — auto-merge candidate once CI passes label Aug 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🟢 Tier 1 — Trivial

Docs, images, lock files, a dependency bump, or an automated release. No functional code changes detected.

Why this tier:

  • Automated release (changeset-release/main) — version bumps and changelogs only

Review process: Auto-merge once CI passes. No human review required.
SLA: Resolves automatically.

Stats
  • Production files changed: 6
  • Production lines changed: 20
  • Branch: changeset-release/main
  • Author: github-actions[bot]

To override this classification, remove the review/tier-1 label and apply a different review/tier-* label. Manual overrides are preserved on subsequent pushes.

@kodiakhq
kodiakhq Bot merged commit ae53d99 into main Aug 21, 2026
26 checks passed
@github-actions

Copy link
Copy Markdown
Contributor Author

E2E Test Results

All tests passed • 308 passed • 1 skipped • 1019s

Status Count
✅ Passed 308
❌ Failed 0
⚠️ Flaky 0
⏭️ Skipped 1

Tests ran across 4 shards in parallel.

View full report →

@kodiakhq
kodiakhq Bot deleted the changeset-release/main branch August 21, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge review/tier-1 Trivial — auto-merge candidate once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant